import request from '@/utils/request';
export default {
    // 新增，编辑
    edit(data) {
        return request({
            url: '/api/server/edit',
            method: 'POST',
            data
        })
    },
    list(data) {
        return request({
            url: '/api/server/list',
            method: 'POST',
            data
        })
    },
    del(data) {
        return request({
            url: '/api/server/del',
            method: 'POST',
            data
        })
    },
    detail(data) {
        return request({
            url: '/api/server/detail',
            method: 'POST',
            data
        })
    },
}